xenstore: Fix the method of get options and the usage
authorKeir Fraser <keir.fraser@citrix.com>
Fri, 18 Dec 2009 07:53:27 +0000 (07:53 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Fri, 18 Dec 2009 07:53:27 +0000 (07:53 +0000)
commit344e13af46cdb531897899ac40708d431af0a1af
tree8a072f30ccf0d7897c566c932e3e51bd33daf3de
parente63db5c63e322d13826da893255efaa58e521266
xenstore: Fix the method of get options and the usage

Add long option '--flat' correspond to short option '-f',
and let it just can be used for subcommand 'ls' (because
in fact it's useless for subcommand 'read' and 'list').
And fix the usage of subcommands 'ls', 'list' and 'chmod'.

Signed-off-by: Yu Zhiguo <yuzg@cn.fujitsu.com>
tools/xenstore/xenstore_client.c